﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Data.ModelDatabase
{
    public class OrderEntry
    {
        [Key]
        public int Id { get; set; }

        public DateTime Created { get; set; }

        public string Message { get; set; }

        public int OrderPositionId { get; set; }
        public virtual OrderPosition OrderPosition { get; set; }

        public int UserId { get; set; }
        public virtual User User { get; set; }
    }
}
